<# # It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description: The script is designed to display the machine timezone with machine name # Remarks: The script has to be deployed as Computer Configuration # Configuration Type - Computer #> #TimeZone Search $timeZone = [System.TimeZoneInfo]::Local.StandardName $computerName = [System.Environment]::MachineName Write-Host "Time zone: $timeZone" Write-Host "Machine name: $computerName"